package com.xiaolin.po;

import javax.persistence.Id;
import java.util.Date;

public class BulletScreen {

    @Id
    private Long id;
    private Integer aid;
    private Integer mid;
    private Date sendDate;
    private Double timestamp;
    private String text;
    private String data;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Date getSendDate() {
        return sendDate;
    }

    public void setSendDate(Date sendDate) {
        this.sendDate = sendDate;
    }

    public Double getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Double timestamp) {
        this.timestamp = timestamp;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BulletScreen{" +
                "id=" + id +
                ", mid=" + mid +
                ", sendDate=" + sendDate +
                ", timestamp=" + timestamp +
                ", text='" + text + '\'' +
                ", data='" + data + '\'' +
                '}';
    }
}
